#pragma once
#include <vector>

bool CZCPipeRpcServer_Init(PVOID srvId);
bool CZCNetworkRpcServer_Init(PVOID srvId);

bool CZCPipeRpcClient_Init();
bool CZCNetworkRpcClient_Init();

BOOL CZCPipeRpcPortIsExist(PVOID srvId);
BOOL CZCNetworkRpcPortIsExist(PVOID srvId);

bool CZCPipeRpcCall(PVOID srvId, ULONG rpcFn, std::vector<char> & rpcData);
bool CZCNetworkRpcCall(PVOID srvId, ULONG rpcFn, std::vector<char> & rpcData);